#include <iostream>
#include <string>
#include "Logger.h"

using namespace std;
using namespace Louis::utility;

int main() {
    // 初始化日志对象
    Logger::instance()->open("./louis.log");
    Logger::instance()->level(Logger::DEBUG);
    debug("name=%s age=%d", "Louis", 22);
    info("info message");
    error("error message");
    return 0;
}
